#include <iostream>
using namespace std;

class robotDriver
{
public:
    robotDriver(){};
    static int dual_Robot_signal;
    static void set_DualSignal(const int &signal);
    static int get_DualSignal();
};

int robotDriver::dual_Robot_signal = 1;
int robotDriver::get_DualSignal()
{
    return dual_Robot_signal;
}
void robotDriver::set_DualSignal(const int &signal)
{
    dual_Robot_signal = signal;
}
int main()
{
    robotDriver a;
    robotDriver b;

    int as = -1, bs = -1;
    as = a.get_DualSignal();
    cout << "a.dual_Robot_signal = " << as << endl;
    bs = b.get_DualSignal();
    cout << "b.dual_Robot_signal = " << bs << endl;
    cout << "*******************" << endl;
    a.set_DualSignal(0);
    as = a.get_DualSignal();
    cout << "a.dual_Robot_signal = " << as << endl;
    bs = b.get_DualSignal();
    cout << "b.dual_Robot_signal = " << bs << endl;
    cout << "*******************" << endl;
    system("pause");
    return 1;
}


